<template>
	<view>
		<Title :txt="i18n.wdsb" :showback="true"></Title>
		<view class="box">
				<navigator :url="'./Bzzequip?name='+item.name+'&id='+item.id" class="itembox mgt24 fsc border" v-for="(item,index) in list" :key="index">
					<view class="item fcs">
						<view class="f14 white">
							{{item.name}}
						</view>
					</view>
					<image src="../../static/grayla.png" mode="" style="width: 24rpx;height: 24rpx;"></image>
				</navigator>
		</view>
	</view>
	
	
</template>

<script>
	export default{
		data(){
			return{
				list:[]
			}
		},
		computed:{
			i18n() {
				return this.$t('home');
			}
		},
		onLoad() {
		},
		onShow() {
			this.$http.post("index.getMineType").then(res=>{
				// console.log(res)
				this.list=res.data
			})
		},
		methods:{
			gotoMy() {
				uni.reLaunch({
					url: './my'
				});
			},
		}
	}
</script>

<style lang="less">
	page{
		color: #0A111A;
	}
	.box{
		padding: 0 30rpx;
		margin-top: 0;
		.itembox{
			width: 100%;
			padding-bottom: 36rpx;
			border-bottom: 2rpx solid #0a111a;
			image{
				width: 46rpx;
				height: 44rpx;
			}
			
		}
		.itembox:last-child{
			margin-bottom: 280rpx;
			border-bottom: 2rpx solid #0a111a;
		}
	}
	
	.register {
		margin-top: 60rpx;
		.back {
			justify-content: center;
			align-items: center;
			display: flex;
			font-size: 34rpx;
			position: relative;
			.leftarrow {
				position: absolute;
				left: 0;
				top: 0;
				width: 32rpx;
				height: 32rpx;
			}
		}
		.chrecord {
			position: absolute;
			top: 0;
			right: 0;
			margin-right: 30rpx;
			color:#586471;
		}
	}

</style>


